DATA_FESTIVAL = "数据节"
LINE_NUMBER="行号"
SUBJECT_NUMBER = "受试者编号"
ECSTDAT = "ECSTDAT"
ECSTTIM = "ECSTTIM"
BASE_COLS = ['受试者编号', '入组号', '受试者状态', '数据块', '行号']
MERGE_KEYS = ['受试者编号', '行号']

ICF_COLS = ['受试者编号', '入组号', '受试者状态', 'DSSTDAT']
SEX_COLS = ['受试者编号', 'SEX']
ENROLLMENT_COLS = ['受试者编号', 'DSSTDAT']
ENROLLMENT_COLS_DSFAST = ['受试者编号', 'DSFAST']
DRUG_COLS = ['受试者编号', '数据节', '行号', 'ECSTDAT', 'ECSTTIM']


BLOOD_DRAW=['受试者编号', '数据节', '行号', 'PCTPT', 'PCDAT','PCTIM']
LAB_COLS = ['受试者编号', '数据节', '行号', 'LBDAT', '实验室指标名称', '实验室范围名称','结果','临床评估','下限','上限','单位','备注']
LBUP_COLS = ['受试者编号', '数据节', '行号', 'LBDAT', 'LBTIM', 'LBORREST','LBORRESU','LBORNR','LBCLSIGN','LBCOVAL']



COLUMNS_TO_DELETE = [
    "项目编号", "表单编号", "Instance顺序号",
    "Block顺序号", "数据页", "最后修改时间"
]


class FormAllConstants:
    FolderOID = "FolderOID"
    FolderName = "FolderName"
    ModuleOID = "ModuleOID"
    FolderModuleName = "FolderModuleName"
    IsICF = "IsICF"
    IsDemographics = "IsDemographics"
    IsDrug = "IsDrug"
    IsReview = "IsReview"
    IsEnrollment = "IsEnrollment"
    IsSummary = "IsSummary"
    IsLab = "IsLab"
    IsBaseline = "IsBaseline"
    IsOutGroup = "IsOutGroup"
    IsFilter = "IsFilter"
    IsCheckIn = "IsCheckIn"
    IsTrial = "IsTrial"
    IsVisitCycle = "IsVisitCycle"
    IsBloodDraw = "IsBloodDraw"
    IsLbup = "IsLbup"